<%@ Page language="c#" Codebehind="TemplatesList.aspx.cs" AutoEventWireup="True" Inherits="CrossFactory.SiteNote.Admin.Templates.TemplatesList" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>AllPagesView</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<LINK href="<%= CrossFactory.SiteNote.Components.Utils._ApplicationPath + CrossFactory.SiteNote.Components.Settings._settings.VirtualPath %>/Admin/Stylesheets/StyleSheet.aspx" type="text/css" rel="stylesheet" >
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<table width="600px" cellpadding="0" cellspacing="0">
				<tr>
					<td colspan="2" width="100%">
						<table cellpadding="0" cellspacing="0" border="0" width="100%">
							<tr>
								<td><img src="<%= CrossFactory.SiteNote.Components.Utils._ApplicationPath + CrossFactory.SiteNote.Components.Settings._settings.VirtualPath %>/Admin/Images/Editor/LBarLeftImg.gif"></td>
								<td width="100%" background="<%= CrossFactory.SiteNote.Components.Utils._ApplicationPath + CrossFactory.SiteNote.Components.Settings._settings.VirtualPath %>/Admin/Images/Editor/LBarBg.gif"></td>
								<td><img src="<%= CrossFactory.SiteNote.Components.Utils._ApplicationPath + CrossFactory.SiteNote.Components.Settings._settings.VirtualPath %>/Admin/Images/Editor/LBarRightImg.gif"></td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td class="cmMessageTitle"><b>Templates List : </b></td>
					<td align="right"><asp:LinkButton id="cmdNavigate" runat="server" CssClass="cmadminEdit" onclick="cmdNavigate_Click">Back to website administration</asp:LinkButton></td>
				</tr>
				<tr>
					<td colspan="2" style="height:3px;border-bottom:1px solid #000000;">&nbsp;</td>
				</tr>
				<tr>
					<td height="15"></td>
				</tr>
				<tr>
					<td colspan="2">
						<table>
							<asp:DataGrid ID="templatesView" CssClass="templatesView" AutoGenerateColumns="False" AllowSorting="True" Runat="server">
								<Columns>
									<asp:TemplateColumn>
										<ItemTemplate>
											<%# Container.DataItem %>
										</ItemTemplate>
									</asp:TemplateColumn>
									<asp:ButtonColumn CommandName="View" ButtonType="PushButton" HeaderText="View" Text="View"></asp:ButtonColumn>
									<asp:ButtonColumn CommandName="Update" ButtonType="PushButton" HeaderText="Update" Text="Update"></asp:ButtonColumn>
									<asp:ButtonColumn CommandName="Edit" ButtonType="PushButton" HeaderText="Edit" Text="Edit"></asp:ButtonColumn>
									<asp:ButtonColumn CommandName="Delete" ButtonType="PushButton" HeaderText="Delete" Text="Delete"></asp:ButtonColumn>
									<asp:ButtonColumn CommandName="Apply" ButtonType="PushButton" HeaderText="Apply" Text="Apply"></asp:ButtonColumn>
									<asp:ButtonColumn CommandName="Allowed" ButtonType="PushButton" HeaderText="Allowed Templates" Text="Edit"></asp:ButtonColumn>
								</Columns>
							</asp:DataGrid>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
